package com.kgis.fm.business.component.infoWindow
{
	import com.kgis.map.Map;
	import com.kgis.widgets.controls.Dialog;
	
	import flash.events.*;
	import flash.geom.*;
	
	import mx.core.*;
	import mx.events.*;
	import mx.managers.PopUpManager;
	
	import spark.components.TitleWindow;
	import spark.components.supportClasses.*;
	import spark.events.PopUpEvent;
	
	public class InfoWindow extends TitleWindow
	{

		private var m_content:SimpleHtmlInfoWindowContent;


		
		
		public function InfoWindow(map:Map)
		{
			super();
			

		}
		
		override protected function closeButton_clickHandler(evt:MouseEvent):void
		{
			 PopUpManager.removePopUp(this);
		}
		
		public function get content() :SimpleHtmlInfoWindowContent
		{
			return this.m_content;
		}// end function
		
		public function set content(value:SimpleHtmlInfoWindowContent) : void
		{
			if (this.m_content !== value)
			{
				this.m_content = value;
				this.addElement(m_content);
				
				
			}
		}
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	}
}